package com.autobet.services;

import org.springframework.context.ApplicationContext;
/**
 * Created by yangd on 2017-08-27.
 */
public class EnvConfigService {

    public static String accountId = "linh226";
    public static String preAmount = "1";
    public static String cookie = "379720c4aac1=f9163af9e0012ab25adb475b670344c595458566; defaultLT=PK10JSC";
    public static String intervalTime = "30";
    public static String taskStatus = "STOP";
    public static String moneytakeRate = "1.983";
    public static String queryResultIntervalTime = "10";
    public static String queryBuydateIdTop = "50";
    public static String dieCount = "9";
    public static String betTypeFlag = "both";
    public static String queryBetUrl = "https://7989674523-bdgj.qq168.ws";
    public static String realBetFlag = "n";
    public static String cutDieFlag = "y";
    public static String cutLostAmountFlag = "y";
    public static String cutLostAmount = "100000";
    public static String cutWinAmount = "100000";
    public static String cutWinFlag = "y";
    public static String warningFlag = "n";
    public static String firstBetTypeFlag = "y";
    public static String searchDate = "";
    /**
     * 是否穿版打法
     */
    public static String dieMoneyFlag = "y";
    private static ApplicationContext applicationContext = null;
    /**
     * 反打开关
     */
    public static boolean reversal = false;
    /**
     * 是否首次运行标志，true重建表，停止使用
     */
    public static boolean changeBetStatus = true;
    /**
     * 清空穿版
     */
    public static boolean clearFlag = false;
    /**
     * 计算的期数
     */
    public static String selectPeriod = "3";


    public EnvConfigService() {
    }

    public static String getAccountId() {
        return accountId;
    }

    public static void setAccountId(String accountId) {
        EnvConfigService.accountId = accountId;
    }

    public static String getPreAmount() {
        return preAmount;
    }

    public static void setPreAmount(String preAmount) {
        EnvConfigService.preAmount = preAmount;
    }

    public static String getCookie() {
        return cookie;
    }

    public static void setCookie(String cookie) {
        EnvConfigService.cookie = cookie;
    }

    public static String getIntervalTime() {
        return intervalTime;
    }

    public static void setIntervalTime(String intervalTime) {
        EnvConfigService.intervalTime = intervalTime;
    }

    public static String getTaskStatus() {
        return taskStatus;
    }

    public static void setTaskStatus(String taskStatus) {
        EnvConfigService.taskStatus = taskStatus;
    }

    public static String getMoneytakeRate() {
        return moneytakeRate;
    }

    public static void setMoneytakeRate(String moneytakeRate) {
        EnvConfigService.moneytakeRate = moneytakeRate;
    }

    public static String getQueryResultIntervalTime() {
        return queryResultIntervalTime;
    }

    public static void setQueryResultIntervalTime(String queryResultIntervalTime) {
        EnvConfigService.queryResultIntervalTime = queryResultIntervalTime;
    }

    public static String getQueryBuydateIdTop() {
        return queryBuydateIdTop;
    }

    public static void setQueryBuydateIdTop(String queryBuydateIdTop) {
        EnvConfigService.queryBuydateIdTop = queryBuydateIdTop;
    }

    public static String getDieCount() {
        return dieCount;
    }

    public static void setDieCount(String dieCount) {
        EnvConfigService.dieCount = dieCount;
    }

    public static String getBetTypeFlag() {
        return betTypeFlag;
    }

    public static void setBetTypeFlag(String betTypeFlag) {
        EnvConfigService.betTypeFlag = betTypeFlag;
    }

    public static String getQueryBetUrl() {
        return queryBetUrl;
    }

    public static void setQueryBetUrl(String queryBetUrl) {
        EnvConfigService.queryBetUrl = queryBetUrl;
    }

    public static String getRealBetFlag() {
        return realBetFlag;
    }

    public static void setRealBetFlag(String realBetFlag) {
        EnvConfigService.realBetFlag = realBetFlag;
    }

    public static String getCutDieFlag() {
        return cutDieFlag;
    }

    public static void setCutDieFlag(String cutDieFlag) {
        EnvConfigService.cutDieFlag = cutDieFlag;
    }

    public static String getCutLostAmountFlag() {
        return cutLostAmountFlag;
    }

    public static void setCutLostAmountFlag(String cutLostAmountFlag) {
        EnvConfigService.cutLostAmountFlag = cutLostAmountFlag;
    }

    public static String getCutLostAmount() {
        return cutLostAmount;
    }

    public static void setCutLostAmount(String cutLostAmount) {
        EnvConfigService.cutLostAmount = cutLostAmount;
    }

    public static String getCutWinAmount() {
        return cutWinAmount;
    }

    public static void setCutWinAmount(String cutWinAmount) {
        EnvConfigService.cutWinAmount = cutWinAmount;
    }

    public static String getCutWinFlag() {
        return cutWinFlag;
    }

    public static void setCutWinFlag(String cutWinFlag) {
        EnvConfigService.cutWinFlag = cutWinFlag;
    }

    public static String getWarningFlag() {
        return warningFlag;
    }

    public static void setWarningFlag(String warningFlag) {
        EnvConfigService.warningFlag = warningFlag;
    }

    public static String getFirstBetTypeFlag() {
        return firstBetTypeFlag;
    }

    public static void setFirstBetTypeFlag(String firstBetTypeFlag) {
        EnvConfigService.firstBetTypeFlag = firstBetTypeFlag;
    }

    public static String getDieMoneyFlag() {
        return dieMoneyFlag;
    }

    public static void setDieMoneyFlag(String dieMoneyFlag) {
        EnvConfigService.dieMoneyFlag = dieMoneyFlag;
    }

    public static ApplicationContext getApplicationContext() {
        return applicationContext;
    }

    public static void setApplicationContext(ApplicationContext applicationContext) {
        EnvConfigService.applicationContext = applicationContext;
    }

    public static String getSearchDate() {
        return searchDate;
    }

    public static void setSearchDate(String searchDate) {
        EnvConfigService.searchDate = searchDate;
    }
}
